Computer-MCQ Computer Organisation /Operating System MCQ Set 2 Sample Test,Sample questions

Question:
 If a process is executing in its critical section, then no other processes can be executing in their critical section. What is this condition called?

1.mutual exclusion

2.critical exclusion

3. synchronous exclusion

4.asynchronous exclusion


Question:
 If all processes I/O bound, the ready queue will almost always be ______ and the Short term Scheduler will have a ______ to do.

1.full, little

2.full, lot

3.empty, little

4.empty, lot


Question:
 In a multiprogramming environment _______

1. the processor executes more than one process at a time

2.the programs are developed by more than one person

3. more than one process resides in the memory

4.a single user can execute many programs at the same time


Question:
 Mutual exclusion can be provided by the _____

1.mutex locks

2.binary semaphores

3.both mutex locks and binary semaphores

4.None of the mentioned


Question:
 Process synchronization can be done on _____

1. hardware level

2.software level

3.both hardware and software level

4.None of the mentioned


Question:
 The entry of all the PCBs of the current processes is in ________

1.Process Register

2.Program Counter

3. Process Table

4.Process Unit


Question:
 The state of a process is defined by ____

1. the final activity of the process

2.the activity just executed by the process

3. the activity to next be executed by the process

4. the current activity of the process


Question:
 What is a long-term scheduler?

1.It selects processes which have to be brought into the ready queue

2. It selects processes which have to be executed next and allocates CPU

3.It selects processes which heave to remove from memory by swapping

4. none of the mentioned


Question:
 What is the ready state of a process?

1.when process is scheduled to run after some execution

2.when process is unable to run until some task has been completed

3.when process is using the CPU

4.none of the mentioned


Question:
 When high priority task is indirectly preempted by medium priority task effectively inverting the relative priority of the two tasks, the scenario is called __________

1. priority inversion

2.priority removal

3.priority exchange

4.priority modification


Question:
 When the process issues an I/O request __________

1.It is placed in an I/O queue

2.It is placed in a waiting queue

3. It is placed in the ready queue

4.It is placed in the Job queue


Question:
 Which of the following is not the state of a process?

1.New

2.Old

3. Waiting

4. Running


Question:
 Which one of the following is a synchronization tool?

1.thread

2.pipe

3.semaphore

4.socket


Question:
A monitor is a module that encapsulates ________

1.shared data structures

2.procedures that operate on shared data structure

3.synchronization between concurrent procedure invocation

4.All of the Mentioned


Question:
A parent process calling _____ system call will be suspended until children processes terminate.

1.wait

2.fork

3.exit

4.exec


Question:
A process can be terminated due to ____

1.normal exit

2.fatal error

3.killed by another process

4.All of the Mentioned


Question:
A Process Control Block(PCB) does not contain which of the following?

1.Code

2. Stack

3.Bootstrap program

4.Data


Question:
A process stack does not contain ______

1.Function parameters

2.Local variables

3.Return addresses

4.PID of child process


Question:
A semaphore is a shared integer variable _______

1.that can not drop below zero

2.that can not be more than zero

3.that can not drop below one

4.that can not be more than one


Question:
A set of processes is deadlock if _______

1. each process is blocked and will remain so forever

2.each process is terminated

3.all processes are trying to kill each other

4.None of the mentioned


Question:
A single thread of control allows the process to perform ______

1.only one task at a time

2.multiple tasks at a time

3.only two tasks at a time

4.All of the Mentioned


Question:
In a time-sharing operating system, when the time slot given to a process is completed, the process goes from the running state to the ________

1.Blocked state

2. Ready state

3.Suspended state

4.Terminated state


Question:
In operating system, each process has its own ______

1.address space and global variables

2.open files

3.pending alarms, signals and signal handlers

4.All of the Mentioned


Question:
Restricting the child process to a subset of the parent’s resources prevents any process from _______

1.overloading the system by using a lot of secondary storage

2.under-loading the system by very less CPU utilization

3.overloading the system by creating a lot of sub-processes

4. crashing the system by utilizing multiple resources


Question:
Suppose that a process is in “Blocked” state waiting for some I/O service. When the service is completed, it goes to the _______

1.Running state

2.Ready state

3. Suspended state

4.Terminated state


Question:
The address of the next instruction to be executed by the current process is provided by the _______

1.CPU registers

2.Program counter

3.Process stack

4.Pipe


Question:
The context of a process in the PCB of a process does not contain _____

1.the value of the CPU registers

2.the process state

3.memory-management information

4.context switch time


Question:
The number of processes completed per unit time is known as ______

1.Output

2.Throughput

3. Efficiency

4. Capacity


Question:
The only state transition that is initiated by the user process itself is _____

1.block

2.wakeup

3.dispatch

4. none of the mentioned


Question:
The OS X has _____

1.monolithic kernel

2.hybrid kernel

3.microkernel

4. monolithic kernel with modules


Question:
The primary distinction between the short term scheduler and the long term scheduler is _____

1.The length of their queues

2.The type of processes they schedule

3. The frequency of their execution

4.None of the mentioned


Question:
The systems which allow only one process execution at a time, are called ______

1. uniprogramming systems

2.uniprocessing systems

3.unitasking systems

4.None of the mentioned


Question:
To access the services of operating system, the interface is provided by the _____

1.System calls

2.API

3. Library

4.Assembly instructions


Question:
To enable a process to wait within the monitor _____

1.a condition variable must be declared as condition

2.condition variables must be used as boolean objects

3.semaphore must be used

4.All of the Mentioned


Question:
What is a medium-term scheduler?

1.It selects which process has to be brought into the ready queue

2.It selects which process has to be executed next and allocates CPU

3. It selects which process to remove from memory by swapping

4. None of the mentioned


Question:
What is a Process Control Block?

1. Process type variable

2.Data Structure

3.A secondary storage section

4.A Block in memory


Question:
What is a short-term scheduler?

1.It selects which process has to be brought into the ready queue

2.It selects which process has to be executed next and allocates CPU

3.It selects which process to remove from memory by swapping

4.None of the mentioned


Question:
What is interprocess communication?

1.communication within the process

2.communication between two process

3.communication between two threads of same process

4.none of the mentioned


Question:
What is the degree of multiprogramming?

1.the number of processes executed per unit time

2.the number of processes in the ready queue

3.the number of processes in the I/O queue

4.the number of processes in memory


Question:
What is the objective of multiprogramming?

1. Have a process running at all time

2.Have multiple programs waiting in a queue ready to run

3.To increase CPU utilization

4.None of the mentioned


Question:
What will happen when a process terminates?

1.It is removed from all queues

2.It is removed from all, but the job queue

3.Its process control block is de-allocated

4. Its process control block is never de-allocated


Question:
When several processes access the same data concurrently and the outcome of the execution depends on the particular order in which the access takes place is called ________

1. dynamic condition

2.race condition

3.essential condition

4.critical condition


Question:
Which facility dynamically adds probes to a running system, both in user processes and in the kernel?

1.DTrace

2.DLocate

3.DMap

4.DAdd


Question:
Which of the following do not belong to queues for processes?

1.Job Queue

2.PCB queue

3.Device Queue

4.Ready Queue


Question:
Which of the following does not interrupt a running process?

1.A device

2.Timer

3. Scheduler process

4.Power failure


Question:
Which of the following need not necessarily be saved on a context switch between processes?

1.General purpose registers

2.Translation lookaside buffer

3. Program counter

4.All of the Mentioned


Question:
Which one of the following error will be handle by the operating system?

1.power failure

2.lack of paper in printer

3.connection failure in the network

4.All of the Mentioned


Question:
Which one of the following is not true?

1.kernel is the program that constitutes the central core of the operating system

2. kernel is the first part of operating system to load into memory during booting

3.kernel is made of various modules which can not be loaded in running operating system

4. kernel remains in the memory during the entire computer session


Question:
Which process can be affected by other processes executing in the system?

1. cooperating process

2.child process

3.parent process

4.init process


Question:
Which system call can be used by a parent process to determine the termination of child process?

1.wait

2.exit

3.fork

4.get


More MCQS

  1. Computer fundamentals
  2. Computer Basic MCQS
  3. CCC MCQ Sample Paper 1
  4. CCC Exams MCQS Sample Paper Test 2
  5. Computer Basics MCQS Paper 1
  6. Computer Basics MCQS Paper 2
  7. FUNDAMENTALS OF COMPUTERS MCQs PART 2
  8. FUNDAMENTALS OF COMPUTERS MCQs PART 1
  9. FUNDAMENTALS OF COMPUTERS MCQs PART 3
  10. Computer mcqs smaple paper 1
  11. Computer mcqs smaple paper 2
  12. Computer mcqs smaple paper 3
  13. Fundamentals of Computers
  14. Fundamentals of Computers (New) Part 1
  15. Fundamentals of Computers (New) Part 2
  16. Computer Networks MCQ Questions
  17. Computer Networks Transition from IPV4 to IPV6
  18. Computer Fundamentals (New) Part 1
  19. Computer Fundamentals (New) Part 2
  20. Computer Fundamentals (New) Part 3
  21. Computer Fundamentals (New) Part 4
  22. Computer Fundamentals (New) Part 5
  23. Computer Fundamentals (New) Part 6
  24. Computer Fundamentals (New) Part 7
  25. Computer Fundamentals (New) Part 8
  26. Operating Systems MCQs Part 1
  27. Operating Systems MCQs Part 2
  28. OS(Computer Operating Systems) Part 1
  29. OS(Computer Operating Systems) Part 2
  30. OS(Computer Operating Systems) Part 3
  31. OS(Computer Operating Systems) Part 4
  32. OS - Computer Operating Systems Part 5
  33. OS - Computer Operating Systems Part 6
  34. OS - Computer Operating Systems Part 7
  35. MS Word MCQ Questions Part 1
  36. MS Word MCQ Questions Part 2
  37. MS Word MCQ Questions Part 3
  38. MS Word MCQ Questions Part 4
  39. MS Word MCQ Questions Part 5
  40. MS Word MCQ Questions Part 7
  41. MS Word MCQ Questions Part 6
  42. Microsoft Excel MCQ Questions Part 1
  43. Microsoft Excel MCQ Questions Part 2
  44. Microsoft Excel MCQ Questions Part 3
  45. Microsoft Excel MCQ Questions Part 4
  46. Microsoft Excel MCQ Questions Part 5
  47. Microsoft Excel MCQ Questions Part 6
  48. Microsoft Excel MCQ Questions Part 7
  49. MS PowerPoint MCQ Questions PART 1
  50. MS PowerPoint MCQ Questions PART 2
  51. MS PowerPoint MCQ Questions PART 3
  52. MS PowerPoint MCQ Questions PART 4
  53. MS PowerPoint MCQ Questions PART 5
  54. MS PowerPoint MCQ Questions PART 6
  55. MS PowerPoint MCQ Questions PART 7
  56. MS Access MCQ Questions Part 1
  57. MS Access MCQ Questions Part 2
  58. MS Access MCQ Questions Part 3
  59. MS Access MCQ Questions Part 4
  60. MS Access MCQ Questions Part 5
  61. MS Access MCQ Questions Part 6
  62. MS Access MCQ Questions Part 7
  63. MS Access MCQ Questions Part 8
  64. Query of MS Access MCQS Part 1
  65. Query of MS Access MCQS Part 2
  66. Computer Communication and Networking Quiz
  67. Computer Graphics MCQ Quiz Questions and Answers
  68. Computer Basics Quiz Questions
  69. Computer Quiz Questions with Answers
  70. Computer Hardware MCQS Quiz
  71. MCQ Computer Organization & Architecture
  72. MCQ Computer Organisation - Input & output Organisation SET1
  73. MCQ Computer Organisation - Input & output Organisation SET2
  74. MCQ Computer Organisation - Input & output Organisation SET3
  75. MCQS on addressing modes SET 1
  76. MCQS on addressing modes SET 2
  77. Software Engineering MCQs SET 1
  78. Software Engineering MCQs SET 2
  79. Software Engineering MCQs Set 3
  80. Software Engineering MCQs Set 4
  81. Software Engineering MCQs Set 5
  82. Software Engineering MCQs Set 6
  83. Software Engineering MCQs Set 7
  84. mcqs data structures
  85. CCC Exam Sample MCQ Paper
  86. Computer MCQ Questions set-1
  87. Computer MCQ Questions set-2
  88. Computer MCQ Questions set-3
  89. Current affairs mcq Database management
  90. Programming arcitecture
  91. Computer Graphics MCQ Questions part 1
  92. Computer Graphics MCQ Questions part 2
  93. Computer Awareness MCQs and Quiz for Banking, IBPS, RRB, RBI, SBI Exams pART 1
  94. Computer Awareness MCQs and Quiz for Banking, IBPS, RRB, RBI, SBI Exams pART 2
  95. Computer Science MCQs
  96. Computer Mcq Question
  97. MCQs based on Fundamentals of Computer 1 set
  98. Computer Mcq Question set 2
  99. MCQ Encoding Schemes
  100. Data Entry and Keyboarding Skills MCQ
  101. Computer Science Number System
  102. Computer Network MCQ
  103. MCQ Questions on Tally
  104. MCQ Questions on Tally Set 2
  105. MCQ Questions on Tally Set 3
  106. MCQ Questions on Tally Set 4
  107. Internet Technology MCQ Questions for Competitive Exams
  108. Computer Software MCQ GK Questions
  109. Computer Organization and Architecture MCQs
  110. Basic Computer GK Questions
  111. Computer Graphics MCQ Set 1
  112. Operating System MCQ Set 1
  113. Operating System MCQ Set 2
  114. Operating System MCQ Set 3
  115. Operating System MCQ Set 4
  116. Operating System MCQ Set 5
  117. Operating System MCQ Set 6
  118. Operating System MCQ Set 7
  119. Operating System MCQ Set 8
  120. Operating System MCQ Set 9
  121. Operating System MCQ Set 10
  122. Operating System MCQ Set 11
  123. Operating System MCQ Set 12
  124. Operating System MCQ Set 13
  125. Operating System MCQ Set 14
  126. Operating System MCQ Set 15
  127. Operating System MCQ Set 16
  128. Operating System MCQ Set 17
  129. Operating System MCQ Set 18
  130. Operating System MCQ Set 19
  131. Operating System MCQ Set 20
  132. Operating System MCQ Set 21
  133. Computer Graphics MCQ Question Set 1
  134. Computer Networks MCQs
  135. Computer Networks MCQs Set-2
  136. Computer Networks MCQs Set-3
  137. Computer Networks MCQs Set-4
  138. Bachelor of Computer Applications MCQs set-1
  139. Bachelor of Computer Applications MCQs set-2
  140. NET Programming MCQ
  141. Artificial Intelligence and Robotics (AIR) Set 1
  142. Artificial Intelligence and Robotics (AIR) Set 2
  143. Computer Engineering Soft Computing Set 1
  144. Computer Engineering Soft Computing Set 2
  145. COMPUTERS AND IT MCQs QUESTIONS
  146. Ancient Indian History MCQ
Search
Olete Team
Online Exam TestTop Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on Online Exam Testwebsite is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!